.card {
    display: flex;
    flex-direction: column-reverse;
    overflow: hidden;
    background: white;
    border: 1px solid #e3e8f7;
    border-radius: 10px;

    .cover {
        display: flex;
        flex: 1;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        background-color: #e3e8f7;

        img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .body {
        flex-shrink: 0;
        box-sizing: border-box;
        height: fit-content;
        padding: 12px;

        h3 {
            margin: 0;
            padding: 0;
            font-weight: bolder;
            font-size: 14px;
        }

        .author {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            margin-top: 8px;

            .avatar {
                display: flex;
                flex-direction: row;
                align-items: center;

                img {
                    width: 20px;
                    height: 20px;
                    object-fit: cover;
                    border-radius: 50%;
                }

                span {
                    margin-left: 4px;
                    overflow: hidden;
                    color: #333333;
                    font-size: 12px;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                }
            }

            .views {
                color: #333333;
                font-size: 12px;
            }
        }
    }
}